package com.hhq.usercenter.domain.req;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: some description </p>
 *
 * @author : xiaodong.yang
 * @date : 2024/1/8 18:43
 */
@Setter
@Getter
public class LoginReq {

    /**
     * 登录方式
     */
    private Integer loginType;
    /**
     * 用户名称
     */
    @NotEmpty(message = "用户名称不能为空")
    private String username;

    /**
     * 密码
     */
    @NotEmpty(message = "密码不能为空")
    private String password;
}
